<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html >
<!---- Website template by # ---->
<html>

<head>
	<!-- 网页标题图标 -->
	<link rel="shortcut icon" href="../img/titleicon.ico" />
	<title>${activity.name}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" href="../style/base/baseIndex.css">
	<link href="../style/customer/activity/style.css" rel="stylesheet" type="text/css" />
	<!--[if IE 6]>
		<link href="../style/customer/activity/ie6.css" rel="stylesheet" type="text/css" />
	<![endif]-->
	<!--[if IE 7]>
        <link href="../style/customer/activity/ie7.css" rel="stylesheet" type="text/css" />
	<![endif]-->
</head>

<body>
    
	<div id="background">
	  <div class="page">
	       <div id="header">
		          <ul class="navigation">
				  <li><a href="food.html">OUR FOOD</a></li>
				  <li><a href="beer.html">OUR BEER</a></li>
				  </ul>
				  
				  <a id="logo" href="index.html"><img src="../img/activity/logo2.jpg" width="276" height="203" alt="Steak House" title="Steak House"></a>
				  
				  <ul id="navigation">
				  <li><a href="reservation.html">RESERVATION</a></li>
				  <li><a href="contact.html">CONTACT US</a></li>
				  </ul>
		   </div>
		   <div id="body">
		   
		    
				
			   
			    <div class="content">
				   <div class="body">
				   
				        <h2 class="textcenter">${activity.name}</h2>
						
						<ul>
							<li>
								<h2><span>活动时间</span></h2>
								<p>
									<c:if test="${activity.startStr == null && activity.endStr != null}">
										截止于${activity.endStr}
									</c:if>
									<c:if test="${activity.startStr != null && activity.endStr == null}">
										于${activity.startStr}开始
									</c:if>
									<c:if test="${activity.startStr != null && activity.endStr != null}">
										${activity.startStr}到${activity.endStr}
									</c:if>
								</p>
							</li>
							<li>
							   <h2><span>活动详细信息</span></h2>
								<p>
									${activity.moreInfo}
								</p>
							</li>
						</ul>
						<div class="textright shuming">
							发布日期：${activity.issueDate}
							<br>
							<c:if test="${activity.admin != null}">
								发布人：${activity.admin.name}
							</c:if>
						</div>
					</div>
				</div>	
			   
		   </div>
		   
		   
		   
		   
		   <div id="footer">
                <ul>
					<li class="first">
					     <ul>
							<li><a href="index.html">Home</a></li>	
							<li><a href="about.html">About</a></li>	
							<li><a href="menu.html">Menu</a></li>	
							<li><a href="beer.html">Beer</a></li>	
							<li><a href="blog.html">Blog</a></li>	
							<li><a href="contact.html">Contact Us</a></li>
						 </ul>
					</li>
					<li>
					   <span>Follow us:</span> 
					   <a href="#" class="facebook">&nbsp;</a> 
					   <a href="#" class="twitter">&nbsp;</a>
					</li>
					<li class="last">
				        <span> &copy; copyright 2011 &copy;. All rights reserved.&nbsp;<a href="http://www.cssmoban.com" title="网页模板" target="_blank">网页模板</a></span> 	
					</li>
				</ul>		       
			   
		   </div>
		
	  </div> 
     </div>	  
	
</body>
</html>